//
//  DPUtil.h
//  LoverGo
//
//  Created by liudonghuan on 14-9-11.
//  Copyright (c) 2014年 yexiao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DPUtil : NSObject
{
    NSString *_appKey;
    NSString *_appSecret;
}
@property (nonatomic, strong) NSString *url;
@property (nonatomic, strong) NSDictionary *params;
-(NSString *)getParamValueFromUrl:(NSString*)url paramName:(NSString *)paramName;
-(NSString *)serializeURL:(NSString *)baseURL params:(NSDictionary *)params;
-(NSDictionary *)parseQueryString:(NSString *)query;
-(id)initWithAppKey:(NSString *)appkey AppSecret:(NSString *)appsecret;
@end
